package com.usefullc.crawler.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import com.usefullc.system.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 爬虫主活动实例实体
 * @author: 星空
 * @date: 2022-12-14
 */
@ApiModel("爬虫主活动实例")
@TableName("crawler_active_main_instance")
@Data
public class ActiveMainInstance extends BaseEntity {

//useful_auto_generate_section_start

    @ApiModelProperty(notes = "活动ID")
    @TableField(value="`activeId`")
    private Long activeId;

    @ApiModelProperty(notes = "实例ID")
    @TableField(value="`activeProcessId`")
    private Long activeProcessId;

    @ApiModelProperty(notes = "失败数")
    @TableField(value="`failNum`")
    private Integer failNum;

    @ApiModelProperty(notes = "名称")
    @TableField(value="`name`")
    private String name;

    @ApiModelProperty(notes = "状态（0 初始； 1 成功；2 失败 ")
    @TableField(value="`status`")
    private Integer status;

    @ApiModelProperty(notes = "成功数")
    @TableField(value="`successNum`")
    private Integer successNum;

//    @ApiModelProperty(notes = "运行中数")
//    @TableField(value="`runningNum`")
//    private Integer runningNum;

    @ApiModelProperty(notes = "模板ID")
    @TableField(value="`templateId`")
    private Long templateId;

    @ApiModelProperty(notes = "总数")
    @TableField(value="`totalNum`")
    private Integer totalNum;


//useful_auto_generate_section_end

    @ApiModelProperty(notes = "用户ID")
    private Long userId;
}
